#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
int Swap(int& x,int& j,int& num)
{
	int tmp = x;
	x = j;
	j = tmp;
	num = x + j;
	num *= num;
	return num;
}
int& test(int i, int j)
{
	int static n = i + j;
	return n;
}
int main()
{
	int i = 0;
	int j = 10;
	int num = 0;
	int  n = Swap(i,j,num);
	printf("i = %d j = %d num = %d \n", i, j, n);
	return 0;
}